package com.rmb.mart.entity.api;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * (MartApiCompany)实体类
 *
 * @author makejava
 * @since 2021-01-20 18:59:40
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MartApiCompany implements Serializable {
    private static final long serialVersionUID = 556826715023737479L;

    private Long id;
    /**
     * 接口名称
     */
    private String apiName;
    /**
     * 接口ID
     */
    private Long martApiEssentialId;
    /**
     * 公司ID
     */
    private Long userCompanyId;
    /**
     * 数量
     */
    private Integer amount;
    /**
     * 创建人
     */
    private String createName;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 修改人
     */
    private String updateName;

    /**
     * 接口状态 0-禁用 1-启用 2-注销
     */
    private Integer apiStatus;
    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     * 购买人id
     */
    private Long userInfoId;

    public Integer getApiStatus() {
        return apiStatus;
    }

    public void setApiStatus(Integer apiStatus) {
        this.apiStatus = apiStatus;
    }

    public Long getUserInfoId() {
        return userInfoId;
    }

    public void setUserInfoId(Long userInfoId) {
        this.userInfoId = userInfoId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getApiName() {
        return apiName;
    }

    public void setApiName(String apiName) {
        this.apiName = apiName;
    }

    public Long getMartApiEssentialId() {
        return martApiEssentialId;
    }

    public void setMartApiEssentialId(Long martApiEssentialId) {
        this.martApiEssentialId = martApiEssentialId;
    }

    public Long getUserCompanyId() {
        return userCompanyId;
    }

    public void setUserCompanyId(Long userCompanyId) {
        this.userCompanyId = userCompanyId;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateName() {
        return updateName;
    }

    public void setUpdateName(String updateName) {
        this.updateName = updateName;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

}